﻿using AnesSystem.Services;
using AnesSystem.ViewModels;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;

namespace AnesSystem.Controls.Operation.SX.PLZYY
{
    /// <summary>
    /// 麻醉单监测与治疗
    /// </summary>
    public partial class AnesOperInfoCtrl : UserControl
    {
        public AnesOperInfoCtrl()
        {
            InitializeComponent();
            this.DataContext = AnesOperInfoCtrlViewModel.Instance;
            
            this.Loaded += AnesOperInfoCtrl_Loaded;
            //mzxgc.GotFocus += mzxgn_CheckChanged;
            //mzxgn.GotFocus += mzxgn_CheckChanged;
        }

        private void AnesOperInfoCtrl_Loaded(object sender, RoutedEventArgs e)
        {
           
          
            
        }
        private void mzxgn_CheckChanged(object sender, RoutedEventArgs e)
        {
            DrugAndEventWindow.Instance.CusContent = new AnesOperInfoPingDing();
            DrugAndEventWindow.Instance.Height = 500;
            DrugAndEventWindow.Instance.Width = 820;
            DrugAndEventWindow.Instance.Title = "麻醉效果评定";
            DrugAndEventWindow.Instance.ShowDialog();
            
        }

        
    }
}
